#ifndef DEFINES_H
#define DEFINES_H

// **** XML tags name ****************************
#define XML_PROJECT                 "project"
#define XML_PROJECTNAME             "name"
#define XML_PROJECTSCRIPT           "script"
#define XML_FORMSLIST               "forms"
#define XML_FORM                    "form"
#define XML_SCRIPTFILE              "scriptFile"
#define XML_FORMFILE                "uiFile"
#define XML_PROJECTINFO             "proInfo"
#define XML_VERSION                 "ver"
#define XML_CONNECTIONS             "cons"
#define XML_CONNECTION              "con"
#define XML_SENDER                  "sender"
#define XML_SIGNAL                  "signal"
#define XML_RECEIVER                "receiver"
#define XML_SLOT                    "slot"
#define XML_DATABASES               "databases"
#define XML_DATABASE                "database"
#define XML_DATABASENAME            "dbname"
#define XML_CONNECTIONSTRING        "conString"
#define XML_TABLES                  "tables"
#define XML_TABLE                   "table"
#define XML_TABLENAME               "name"
#define XML_TABLEDESCRIPTION        "descript"
#define XML_COLUMNS                 "columns"
#define XML_COLUMN                  "column"
#define XML_COLUMNNAME              "name"
#define XML_COLUMNTYPE              "type"
#define XML_COLUMNLENGTH            "length"
#define XML_DEFAULTVALUE            "default"
#define XML_ISPRIMARYKEY            "primary"
#define XML_AUTOINCREMENT           "autoinc"
/*             deprecated crap                */
/*            grandalite legacy               */
#define XML__UFDATA                 "UFDATA"
#define XML__DATA                   "DATA"
#define XML__COMMAND                "COM"
#define XML__VERSION                "VER"
#define XML__KOMMAND                "KOM"
#define XML__USER                   "NUSER"
#define XML__PARAMS                 "KP"
#define XML__TABLES                 "TABL"
#define XML__DOCSL                  "DOCL"
#define XML__TABLE_NAME             "NMT"
#define XML__PASSWORD               "PASSW"
#define XML__OS                     "OS"
#define XML__VARS                   "VAR"
#define XML__REC                    "REC"
// ***********************************************




// **** Properties *******************************
#define PROP_DATABASENAME           XML_DATABASENAME
#define PROP_CONNECTIONSTRING       XML_CONNECTIONSTRING
#define PROP_TABLENAME              XML_TABLENAME
#define PROP_TABLEDESCIPTION        XML_TABLEDESCRIPTION
#define PROP_COLUMNNAME             XML_COLUMNNAME
#define PROP_COLUMNTYPE             XML_COLUMNTYPE
#define PROP_COLUMNLENTH            XML_COLUMNLENGTH
#define PROP_ISPRIMARYKEY           XML_ISPRIMARYKEY
#define PROP_AUTOINCREMENT          XML_AUTOINCREMENT
#define PROP_DEFAULTVALUE           XML_DEFAULTVALUE
//************************************************
#define NULLSTRING                  "{null}"
// **** Message parameters ***********************


// ***********************************************
#endif // DEFINES_H
